Check this app for the 20 security holes listed below. This is a check of my own app, using only the files in this folder.

GROUND RULES
- Read only. Do not change, create or delete any file. Do not install anything.
- Do not visit, scan or send requests to any website, including mine. Work from the files.
- Reading and searching files is fine. The only program you may run is the package audit (npm audit, pnpm audit or yarn audit, whichever this project uses), and only if a lock file exists. Never add "fix".
- Skip node_modules, .git and build output folders.

HOW TO JUDGE EACH POINT
- PASS: you found the code that handles it (give that file and line), or the app does not have that feature at all (write "not used" and put a dash for the line).
- FAIL: you found the hole. Give the file and line. If it is in more than one place, list every place.
- CAN'T TELL: the answer is not in these files, for example it depends on hosting or database dashboard settings. Say what I should check and where.
- If one problem fits two points, put it under the closer point and write "see point N" in the other.

THE 20 POINTS
1. Login check in the browser. Is any page or action protected only by code that runs in the browser (hiding a button, checking a role or "logged in" flag in front-end code)? Hiding things in the browser is fine as long as the server checks too.
2. Open .git folder. Could the site serve the .git folder or the whole project folder? PASS if the code only serves a public or build folder. If the site is plain files uploaded as they are, mark CAN'T TELL and tell me to check that my host does not upload the .git folder.
3. API keys in page code. Is any secret key in code the browser receives? Check front-end files and environment variables the framework sends to the browser (names that start with NEXT_PUBLIC_ or VITE_, for example). Keys made to be public are fine. Secret keys, service keys and AI API keys are not. Also check that .env files are in .gitignore.
4. Database with no access rules. If the browser talks to the database directly (Supabase, Firebase and similar), is every table locked with access rules? Look for row level security, security rules and policies in migration or rule files. If the rules only live in the provider's dashboard, mark CAN'T TELL.
5. Price the browser sends. Does the server trust a price, total, discount or quantity sent from the browser, or does it look up the real price itself?
6. Unlimited login guesses. Is there a limit on login, sign-up, password reset and code-check attempts?
7. Reset link sent to their server. Are password reset and other email links built from a fixed site address in settings, or from the address in the incoming request (the Host header)?
8. Change one number, see someone else's data. When a route loads a record by its ID (orders, profiles, files, messages), does it also check that the record belongs to the logged-in user?
9. Uploads that take any file. Do uploads check file type and size? Are uploaded files kept from running as code or being served as web pages?
10. Server that fetches any link. Does the server fetch a web address a user typed or sent (link previews, "import from URL", image fetch, webhooks)? If so, does it block addresses inside your own network?
11. Search box wired into the database. Is any user input pasted into a database query as text instead of passed as a separate parameter?
12. Comments that run as code. Is any user-written text put on a page without escaping (innerHTML, dangerouslySetInnerHTML, v-html, or a template that turns escaping off)?
13. Chatbot that leaks its instructions. If the app has an AI chatbot, are there keys, passwords or private data in its instructions? Can it reach data or take actions the user should not?
14. Discount code that works twice. Can a one-time code, coupon, gift card or free trial be used twice, including by two requests sent at the same moment? Look for "check it, then mark it used" done as two separate steps.
15. Source maps that show your code. Does the production build publish source map (.map) files to the browser?
16. Admin page with no lock. Is every admin page and admin API route checked on the server for an admin user?
17. Errors that show file paths. Do error responses send stack traces, file paths or raw database errors to the browser?
18. Forgotten subdomain. List every web address of mine you find in the code and config (my domain, subdomains, preview or staging links). Leave out outside services. I will check that each one still points at something I own. Mark CAN'T TELL unless the files show a problem.
19. Texts with no limit. Can anyone make the app send texts, emails or calls over and over? Look for a limit on how many can go to the same phone number or email address, not just per visitor, or a check like a captcha.
20. Old packages with known holes. Run the package audit if a lock file exists and report high and critical issues. If there is no lock file, mark CAN'T TELL and tell me which command to run.

WHAT TO SEND BACK
1. A table with one row per point: number, short name, PASS / FAIL / CAN'T TELL, file and line, one plain sentence. For a FAIL, the sentence says what a stranger could do, in words a beginner understands. No attack steps.
2. Under the table, the FAILs in the order you would fix them, most serious first, with a one-line fix idea for each.
3. Then stop and ask me which ones to fix. Change nothing until I say so.
